package com.exposit.smarthouse.sensor.impl;

import com.exposit.smarthouse.obj.impl.*;
import com.exposit.smarthouse.sensor.*;
import com.exposit.smarthouse.state.*;
import com.exposit.smarthouse.utils.*;

public class LuminositySensorImpl extends SensorEntity implements LuminositySensor
{
    private LuminosityState state;

    public LuminositySensorImpl()
    {
        super.setType(TYPE);
    }

    @Override
    public LuminosityState getState()
    {
        return state;
    }

    @Override
    public void setState(LuminosityState state)
    {
        this.state = state;
    }
}
